/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import java.util.List;
import pojos.Iva;

/**
 *
 * @author Usuario
 */
public class IvaDao extends AbstractDao{
    
    public void create(Iva iva){
        super.saveOrUpdate(iva);
    }
    
    public List<Iva> findAll(){
        return (List<Iva>)super.findAll(Iva.class, "");
    }
    
    public Iva findById(String id){
        return (Iva) super.find(Iva.class, id);
    }
    
}
